﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace GeneralServices.ViewModel
{
    public class ActionVMArgs
    {
        public UserControl Control
        {
            get;
            private set;
        }

        public String Title
        {
            get;
            private set;
        }

        public String ID
        {
            get;
            private set;
        }

        public Uri Icon
        {
            get;
            set;
        }

        public ActionVMArgs(UserControl control, String title):this(control, title, title)
        {
        }

        public ActionVMArgs(UserControl control, String title, String ID)
            : this(control, title, title, null)
        {
        }

        public ActionVMArgs(UserControl control, String title, String ID, Uri icon)
        {
            Control = control;
            Title = title;
            Icon = icon;
            this.ID = ID;
        }
    }
}
